﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Gaia;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class PatientDiagDubboServe : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.gaia.service.inter.dubbo.external.PatientDiagDubboServe";
        public GateWayMethod queryByVisitNo => new QueryByVisitNo(url);
    }

    public class QueryByVisitNo : GateWayMethod
    {
        public QueryByVisitNo(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryByVisitNo";

        public override string paramClass => "co.faao.plugin.transmission.request.MessageHeader";

        public override DubboParamType paramType => DubboParamType.messageheader;

        public override Type requestParamType => typeof(DiagQueryConditionReq);

        public override Type responseParamType => typeof(List<PatientDiagResp>);
    }
}
